/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.isd.global.rn;

import com.isd.global.dao.VideosDAO;
import com.isd.global.dao.BaseDAO;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import com.isd.global.modelo.ItemBanner;
import com.isd.global.modelo.ItemVideo;

/**
 *
 * @author Claudio
 */
@Stateless
@LocalBean
public class VideosRN extends BaseDAO {

    @EJB private VideosDAO videosDAO;

    public List<ItemVideo> getLista(){

        return videosDAO.getLista();
    }

    public ItemVideo getVideo(int orden) {

        return videosDAO.getVideo(orden);
    }
}
